﻿@model IList<ProductOverviewModel>
@{
    Layout = "~/Views/Shared/_ColumnsOne.cshtml";

    //title
    Html.AddTitleParts(T("PageTitle.RecentlyAddedProducts").Text);
}
@using Nop.Web.Models.Catalog;
@section content_after {
    <!-- Begin product-list -->
    <div id="product-list">
        <div class="products">
            <!-- Begin product-item-->
            <h3 class="cfm">
                New Products</h3>
            <div class="row1">
                @foreach (var product in Model)
                {
                    <div class="item-box">
                        @Html.Partial("_ProductBox", product)
                    </div>
                }               
            </div>
            <!-- End product-item-->
            <div style="clear: both;">
            </div>
        </div>
    </div>
    @*<div class="viewallbutton">
        <a href="collections/store.html">
            <button id="viewall" type="button">
                <span class="cfm">View all products</span></button></a>
    </div>*@
    <!-- Begin product-variants -->
    <!-- End product-variants -->
}

@*<div class="page recently-added-products-page">
    <div class="page-title">
        <a href="@Url.RouteUrl("RecentlyAddedProductsRSS")" class="link-rss" title="@T("Products.NewProducts.RSS.Hint")">@T("Products.NewProducts.RSS")</a>
        <h1>@T("Products.NewProducts")</h1>
    </div>
    <div class="clear">
    </div>
    <div class="page-body">
        @if (Model.Count > 0)
        {
            <div class="product-grid">
                @foreach (var product in Model)
                {
                    <div class="item-box">
                        @Html.Partial("_ProductBox", product)
                    </div>
                }
            </div>        
        }
    </div>
</div>*@